<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java"  pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="spring" uri="/WEB-INF/lib/spring.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<%@ taglib prefix="z" uri="/WEB-INF/lib/zerdoor.tld"%>
<c:set value="${pageContext.request.contextPath}" var="path" scope="page"/>


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><spring:message code='publishTaskIndex.title.msg' /></title>
    <link href="${path}/style/acg/css/style.css" rel="stylesheet" type="text/css" />

    <script src="${path}/js/jquery.min.js" type="text/javascript"></script>
    <%--<script type="text/javascript" src="${path}/style/acg/js/common.js"></script>--%>

    <script type="text/javascript">

        function f_goTaskInfo(){
            if("${curUser.userId}" == "" ){

                alert("<spring:message code='race_info.alert.tipLogin' />");
                window.location.href = "${path}/login/index.html";

                return;
            }

            window.location.href = "${path}/taskInfo/taskInfo.html";
        }
        function f_goRaceInfo(){
            if("${curUser.userId}" == "" ){

                alert("<spring:message code='race_info.alert.tipLogin' />");
                window.location.href = "${path}/login/index.html";

                return;
            }

            window.location.href = "${path}/raceInfo/raceInfo.html";
        }

    </script>
</head>

<body>
<div class="header">
    <jsp:include page="../public/header.jsp">
        <jsp:param    name="home"    value="dddd"    />
    </jsp:include>
</div>
<div id="container">
    <div class="wrapper">
    	<div class="publishproject">
        	<ul>
            	<li>
                	<p><a href="javascript:void(0);" onclick="f_goTaskInfo()" class="btn"><spring:message code='publishTaskIndex.msg.publishedTenders'/></a></p>
                    <p><spring:message code='publishTaskIndex.msg.publishedTendersMsg'/></p>
                </li>
            	<li>
                	<p><a href="javascript:void(0);" onclick="f_goRaceInfo()" class="btn"><spring:message code='publishTaskIndex.msg.rewardContest'/></a></p>
                    <p><spring:message code='publishTaskIndex.msg.rewardContestMsg'/></p>
                </li>
            </ul>
        </div>
    </div>
</div>
<div id="footer">
    <!--content-->
    <jsp:include page="../public/footer.jsp"></jsp:include>

</div>

</body>
</html>
